home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-05-11 | 1.8 KB | 63 lines | [TEXT/GEOL] |
- Item 5778886 10-May-90 09:01PDT
-
- From: NOORI Noori, Andy
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: A Bug in MacApp 2.0
-
-
- Hello MacAppers;
-
- It was about time to convert our development environment from MacApp 2.0ß9
- to MacApp 2.0. On doing so we discovered a bug in MacApp 2.0 that forced us to
- go back to 2.0ß9 version.
-
- The bug is on the NewTemplateWindow function. Apparently this function
- sometimes behaves properly and sometimes doesn't. One of the windows in the
- application has a resourse as follows:
-
-
-
- resource 'view' (1000, "SSWindow", purgeable) {
- {
- root, 'WIND', {41,256}, {296,252},SizeVariable,SizeVariable,Shown,Enabled,
- Window { "TSSWindow",
- zoomDocProc, goAwayBox, resizable, modeless,ignoreFirstClick,freeOnClosing,
- disposeOnFree, closesDocument, openWithDocument, adaptToScreen, stagger,
- forceOnScreen, dontCenter, 'SSVW', "" },
-
- 'WIND', 'SCLR', {20,20}, {261,217},SizeSuperView,SizeSuperView,Shown,Enable
- Scroller { "",
- VertScrollBar, HorzScrollBar, 1808,1808,16,16, VertConstrain,HorzConstrain,
- noInset },
-
- 'SCLR', 'SSVW', { 0, 0 }, {261,217}, SizeVariable,SizeVariable,Shown,Enable
- View { "TSSView" },
-
- and some more .....
-
-
-
- in TSSDocument.DoMakeViews a call to NewTemplateWindow is made as follows:
-
- aWindow := NewTemplateWindow(1000,SELF);
-
- Unfortunately NewTemplateWindow explodes with happiness into the debugger with
- a message:
-
- Failed to AssumeFocused on TSSView.
-
- It is possible that I haven't fully converted my program so that it will work
- properly with MacApp 2.0 version OR there is really something wrong with
- NewTemplateWindow function.
-
- Please AppleLink me If you have a solution on how to get around this bug.
-
-
- Thanks
- Andy Noori
-
-
-
-